import request from '@/utils/request'

// 售票分析
export function selectDay(query) {
    return request({
        url: '/jxbill/Main/ticketSalForDay',
        method: 'get',
        params: query
    })
}
// 售票分析
export function selectWeek(query) {
    return request({
        url: '/jxbill/Main/ticketSalForWeek',
        method: 'get',
        params: query
    })
}
// 售票分析
export function selectMonth(query) {
    return request({
        url: '/jxbill/Main/ticketSalForMonth',
        method: 'get',
        params: query
    })
}
// 售票分析
export function selectYear(query) {
    return request({
        url: '/jxbill/Main/ticketSalForYear',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按天）
export function selectDayForTwo(query) {
    return request({
        url: '/jxbill/Main/ticketingChannelsForDay',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按周）
export function selectWeekFowTwo(query) {
    return request({
        url: '/jxbill/Main/ticketingChannelsForWeek',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按月）
export function selectMonthForTwo(query) {
    return request({
        url: '/jxbill/Main/ticketingChannelsForMonth',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按年）
export function selectYearForTwo(query) {
    return request({
        url: '/jxbill/Main/ticketingChannelsForYear',
        method: 'get',
        params: query
    })
}

// 售票渠道（第二模块按天）
export function refundChannelsForDay(query) {
    return request({
        url: '/jxbill/Main/refundChannelsForDay',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按周）
export function refundChannelsForWeek(query) {
    return request({
        url: '/jxbill/Main/refundChannelsForWeek',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按月）
export function refundChannelsForMonth(query) {
    return request({
        url: '/jxbill/Main/refundChannelsForMonth',
        method: 'get',
        params: query
    })
}
// 售票渠道（第二模块按年）
export function refundChannelsForYear(query) {
    return request({
        url: '/jxbill/Main/refundChannelsForYear',
        method: 'get',
        params: query
    })
}
// 热门线路
export function selectPopularLinesForDay(query) {
    return request({
        url: '/jxbill/Main/selectPopularLinesForDay',
        method: 'get',
        params: query
    })
}
export function selectPopularLinesForWeek(query) {
    return request({
        url: '/jxbill/Main/selectPopularLinesForWeek',
        method: 'get',
        params: query
    })
}
export function selectPopularLinesForMonth(query) {
    return request({
        url: '/jxbill/Main/selectPopularLinesForMonth',
        method: 'get',
        params: query
    })
}
export function selectPopularLinesForYear(query) {
    return request({
        url: '/jxbill/Main/selectPopularLinesForYear',
        method: 'get',
        params: query
    })
}
// 热门出发站
export function selectPopularStartingStationForDay(query) {
    return request({
        url: '/jxbill/Main/selectPopularStartingStationForDay',
        method: 'get',
        params: query
    })
}
export function selectPopularStartingStationForWeek(query) {
    return request({
        url: '/jxbill/Main/selectPopularStartingStationForWeek',
        method: 'get',
        params: query
    })
}
export function selectPopularStartingStationForMonth(query) {
    return request({
        url: '/jxbill/Main/selectPopularStartingStationForMonth',
        method: 'get',
        params: query
    })
}
export function selectPopularStartingStationForYear(query) {
    return request({
        url: '/jxbill/Main/selectPopularStartingStationForYear',
        method: 'get',
        params: query
    })
}
// 热门抵达地
export function selectPopularDestinationsForDay(query) {
    return request({
        url: '/jxbill/Main/selectPopularDestinationsForDay',
        method: 'get',
        params: query
    })
}
export function selectPopularDestinationsForWeek(query) {
    return request({
        url: '/jxbill/Main/selectPopularDestinationsForWeek',
        method: 'get',
        params: query
    })
}
export function selectPopularDestinationsForMonth(query) {
    return request({
        url: '/jxbill/Main/selectPopularDestinationsForMonth',
        method: 'get',
        params: query
    })
}
export function selectPopularDestinationsForYear(query) {
    return request({
        url: '/jxbill/Main/selectPopularDestinationsForYear',
        method: 'get',
        params: query
    })
}
// 售票量统计
export function selectDataByDayForTicketSal(query) {
    return request({
        url: '/jxbill/Main/selectDataByDayForTicketSal',
        method: 'get',
        params: query
    })
}
export function selectDataByWeekForTicketSal(query) {
    return request({
        url: '/jxbill/Main/selectDataByWeekForTicketSal',
        method: 'get',
        params: query
    })
}
export function selectDataByMonthForTicketSal(query) {
    return request({
        url: '/jxbill/Main/selectDataByMonthForTicketSal',
        method: 'get',
        params: query
    })
}
export function selectDataByYearForTicketSal(query) {
    return request({
        url: '/jxbill/Main/selectDataByYearForTicketSal',
        method: 'get',
        params: query
    })
}
// 退票量统计
export function selectDataByDayForRefundNum(query) {
    return request({
        url: '/jxbill/Main/selectDataByDayForRefundNum',
        method: 'get',
        params: query
    })
}
export function selectDataByWeekForRefundNum(query) {
    return request({
        url: '/jxbill/Main/selectDataByWeekForRefundNum',
        method: 'get',
        params: query
    })
}
export function selectDataByMonthForRefundNum(query) {
    return request({
        url: '/jxbill/Main/selectDataByMonthForRefundNum',
        method: 'get',
        params: query
    })
}
export function selectDataByYearForRefundNum(query) {
    return request({
        url: '/jxbill/Main/selectDataByYearForRefundNum',
        method: 'get',
        params: query
    })
}